[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
yes,1em] \setupinterlinespace [line=2\bodyfontsize, height=0.9, depth=0.1] \setupruby [style={\switchtobodyfont[6pt]}] \setuppagenumbering [alternative=doublesided, location=none] \setuphead [title,subject] [align=middle] \startsetups [header:rightpage] \startframed

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
mily[JapaneseFont][ss][Noto Serif JP] > >>[ it={style:regular,features:{*,slanted}}, > >>sl={style:regular,features:{*,slanted}}, > >>bi={style:bold,features:{*,slanted}},force=yes] > >> > >> \definefontfamily[JapaneseFont][tt][Noto Serif JP]

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
P] > >> [ it={style:regular,features:{*,slanted}}, > >> sl={style:regular,features:{*,slanted}}, > >> bi={style:bold,features:{*,slanted}},force=yes] > >> > >> \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] > >> %\definefont

[NTG-context] Re: Japanese

2024-02-28 Thread Jean-Pierre Delange
={style:bold,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Pagella Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor] \setupbodyfont[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex

[NTG-context] Re: Japanese

2024-02-28 Thread Henning Hraban Ramm
[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared Thanks all contributors, I added this to https://wiki.contextgarden.net/Chinese_Japanese_and_Korean I guess you also should set

[NTG-context] Re: Japanese

2024-02-27 Thread Otared Kavian
,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Pagella Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor] \setupbodyfont[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex

[NTG-context] Re: Japanese

2024-02-26 Thread Otared Kavian
] \setupbodyfont[JapaneseFont,14pt] \setupruby[location=top,voffset=-1.6ex] \setupwhitespace[big] \starttext \ruby{僕}{ぼく}はもう\ruby{寝}{ね}る。 お\ruby{休}{やす}みなさい^_^ \stoptext %end simple-japanese.tex Best regards: Otared > On 26 Feb 2024, at 21:32, Emanuel Han via ntg-context >

[NTG-context] Re: Japanese

2024-02-26 Thread Emanuel Han via ntg-context
\definefontfamily [JapaneseFont] [rm] [hiraginominchopro] \setupruby[location=top,voffset=-1.6ex, ] \starttext \JapaneseFont \ruby{僕}{ぼく}はもう\ruby{寝}{ね}る。 お\ruby{休}{やす}みなさい^_^ \stoptext On Feb. 26 2024, at 9:08 pm, Otared Kavian wrote: > Hi all, > > Does anyone have a simple setup of fonts

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
[mschinese,20pt] \definefont[pinyinfont][name:ahpinying*default at 9pt] \setupruby[color=darkgray, style=\pinyinfont] \starttext \ruby{寖備}{jìn bèi} \ss \ruby{寖備}{jìn bèi} % \tt \ruby{寖備}{jìn bèi} \stoptext %%%end example ruby errors out as follows(that's why I didn't succeed with ruby before

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
[mschinese,20pt] \definefont[pinyinfont][name:ahpinying*default at 9pt] \setupruby[color=darkgray, style=\pinyinfont] \starttext \ruby{寖備}{jìn bèi} \ss \ruby{寖備}{jìn bèi} % \tt \ruby{寖備}{jìn bèi} \stoptext %%%end example ruby errors out as follows(that's why I didn't succeed with ruby before

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Wolfgang Schuster via ntg-context
has support for it. As can be seen in my previous example you can use the style-key to switch to a different font for the annotation (e.g. \setupruby[style=\pinyinfont]). begin example \definefallbackfamily [documentfont] [rm] [Noto Serif CJK SC] [preset=range:chinese] \definefallbackfam

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
them: > > > > begin example > > \setupinterlinespace[line=4ex] > > > > \setuptype[style=\ttx] > > > > \starttext > > > > \start > > x \ruby{aaa}{bbb} x > > \stop > > > > \start \setupruby[location=left]

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-16 Thread amano.kenji via ntg-context
arttext > > \start > xxxxx \ruby{aaa}{bbb} x > \stop > > \start \setupruby[location=left] > \type{\setupruby[location=left]}\quad x \ruby{aaa}{bbb} x > \stop > > \start \setupruby[location=right] > \type{\setupruby[location=right]}\quad xxx

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-15 Thread Wolfgang Schuster via ntg-context
x \ruby{aaa}{bbb} x \stop \start \setupruby[location=left] \type{\setupruby[location=left]}\quad x \ruby{aaa}{bbb} x \stop \start \setupruby[location=right] \type{\setupruby[location=right]}\quad x \ruby{aaa}{bbb} x \stop \start \setupruby[location

Re: [NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
\dorecurse{20}{\ruby[spread]{XYZ}{fooledbar} }\par \dorecurse{20}{\ruby{extremely}{wide} }\par \dorecurse{20}{\ruby{wide}{extremely} }\par stopbuffer \testfeatureonce{1}{\start \setupinterlinespace[16pt] \setupruby[location=none] \getbuffer \stop \page} \testfeatureonce

Re: [NTG-context] general syntax for startparagraph command

2019-09-30 Thread Henning Hraban Ramm
> Am 2019-09-30 um 19:37 schrieb Wolfgang Schuster > : > > Jeroen schrieb am 30.09.2019 um 02:18: >> Many thanks. Is there also a simple way to place a 2 above the = character >> as the definition does. > The sample ways are: > > \starttext > > \setupr

Re: [NTG-context] general syntax for startparagraph command

2019-09-30 Thread Wolfgang Schuster
Jeroen schrieb am 30.09.2019 um 02:18: Many thanks. Is there also a simple way to place a 2 above the = character as the definition does. The sample ways are: \starttext \setupruby[style=] = \ruby{=}{*} \blank = \framed[location=bottom,align=middle,frame=off,offset=0pt]{*\\=} \stoptext

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
;}, command=\InterlinearText] \setupinterlinespace[line=8ex] \setupruby[voffset=-3ex] \starttext \definedfont[file:arial*arabic at 16 pt] \processdatabasebuffer[interlineartext][sample] \stoptext Probably something with your font/alignment switching. \usemodule [database] \startbuffer[sample] "

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Wolfgang Schuster
tupalign[r2l]\definedfont[file:arial*arabic at 16 pt] \ruby{{\setupalign[r2l]#1}}{\setupalign[l2r]\definedfont[name:arial at 10pt]#2}} \definedatabase    [interlineartext]    [quotechar={"},     command=\InterlinearText] \setupinterlinespace[line=8ex] \setupruby[voffset=-3ex] \starttex

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
t] \ruby{{\setupalign[r2l]#1}}{\setupalign[l2r]\definedfont[name:arial at 10pt]#2}} \definedatabase    [interlineartext]    [quotechar={"},     command=\InterlinearText] \setupinterlinespace[line=8ex] \setupruby[voffset=-3ex] \starttext \definedfont[file:arial*arabic at 16 pt] \processdatabas

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Floris van Manen
t; > "erwachte,","woke up," > "fand","found" > "er","he" > "sich","himself" > "in","in" > "seinem","his" > "Bett","bed" > "zu",&q

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Wolfgang Schuster
quot;erwachte,","woke up," "fand","found" "er","he" "sich","himself" "in","in" "seinem","his" "Bett","bed" "zu","in" "einem","

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
bar} }\par     \dorecurse{20}{\ruby[spread]{XYZ}{fooledbar} }\par     \dorecurse{20}{\ruby{extremely}{wide} }\par     \dorecurse{20}{\ruby{wide}{extremely} }\par  stopbuffer \testfeatureonce{1}{\start \setupinterlinespace[16pt] \setupruby[location=none]   \getbuffer \

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Hans Hagen
\setupinterlinespace[16pt] \setupruby[location=none] \getbuffer \stop \page} \testfeatureonce{1}{\start \setupinterlinespace[16pt] \setupruby[location=right] \getbuffer \stop \page} \testfeatureonce{1}{\start \setupinterlinespace[28pt] \setupruby[align=auto,color

Re: [NTG-context] Guitar chords

2018-08-20 Thread Lizardo Reyna
l}{Bm} \ruby[song]{bless}{Em}\ruby[song]{ings}{D} > \ruby[song]{flow}{G}; > > \start > > \setupruby[style=\ss\it,align=flushleft] > > \ruby{Praise}{G} Him, all \ruby{crea}{D}\ruby{tures}{Em} \ruby{here}{C} > \ruby{be}{G}\ruby{low}{D}; > > \stop > > \stoptex

Re: [NTG-context] Guitar chords

2018-08-19 Thread Wolfgang Schuster
\defineruby[song][style=\ss\it,align=flushleft] \setupinterlinespace[line=5ex] \starttext \ruby[song]{Praise}{G} God, \ruby[song]{from}{D} \ruby[song]{Whom}{Em} \ruby[song]{all}{Bm} \ruby[song]{bless}{Em}\ruby[song]{ings}{D} \ruby[song]{flow}{G}; \start \setupruby[style=\ss\it,align

[NTG-context] ruby overhang

2012-03-04 Thread S Barmeier
\usemodule[ruby] \setupruby[overhang=start] \starttext foo \ruby{bar}{foo bar baz} baz \stoptext end,yes,auto all give overhang=none. Am I doing something wrong? Severin ___ If your question is of interest to others

Re: [NTG-context] ruby overhang

2012-03-04 Thread Wolfgang Schuster
Am 04.03.2012 um 15:43 schrieb S Barmeier: \usemodule[ruby] \setupruby[overhang=start] \starttext foo \ruby{bar}{foo bar baz} baz \stoptext end,yes,auto all give overhang=none. Am I doing something wrong? You need also “align=center” because by default the base text is stretched

Re: [NTG-context] stack words for explanation

2010-11-18 Thread Wolfgang Schuster
a words you can use the ruby module, here is a example: \usemodule[ruby] \setupruby[align=center] \starttext THIS IS \ruby{TITANIC}{MAYDAY MAYDAY MAYDAY} TITANIC TITANIC \stoptext Wolfgang ___ If your question

Re: [NTG-context] stack words for explanation

2010-11-18 Thread Jonas Stein
\usemodule[ruby] \setupruby[align=center] \starttext THIS IS \ruby{TITANIC}{MAYDAY MAYDAY MAYDAY} TITANIC TITANIC \stoptext The example does not work here. Will i have to install ruby manual on debian testing? I could not find information about the ruby module -- Jonas Stein n

Re: [NTG-context] stack words for explanation

2010-11-18 Thread Aditya Mahajan
On Fri, 19 Nov 2010, Jonas Stein wrote: \usemodule[ruby] \setupruby[align=center] \starttext THIS IS \ruby{TITANIC}{MAYDAY MAYDAY MAYDAY} TITANIC TITANIC \stoptext The example does not work here. Will i have to install ruby manual on debian testing? I could not find information about

Re: [NTG-context] stack words for explanation

2010-11-18 Thread Aditya Mahajan
On Thu, 18 Nov 2010, Aditya Mahajan wrote: On Fri, 19 Nov 2010, Jonas Stein wrote: \usemodule[ruby] \setupruby[align=center] \starttext THIS IS \ruby{TITANIC}{MAYDAY MAYDAY MAYDAY} TITANIC TITANIC \stoptext The example does not work here. Will i have to install ruby manual on debian

Re: [NTG-context] pinyin in context

2009-03-17 Thread Bill Long
for children, the pinyin always show above the Chinese like the picture I upload. A solution like can be easy integrated in a ruby command because you need only a command parameter for the ruby text, e.g. \setupruby[command=\pinyin] but you're looking for something like the translate module

Re: [NTG-context] pinyin in context

2009-03-16 Thread Wolfgang Schuster
upload. A solution like can be easy integrated in a ruby command because you need only a command parameter for the ruby text, e.g. \setupruby[command=\pinyin] but you're looking for something like the translate module. To make it show correctly is an good start, but if there are some tools

Re: [NTG-context] How to realize rubytext in Context?

2007-10-14 Thread Wolfgang Schuster
Schuster, %D date=\currentdate, %D copyright=Wolfgang Schuster] \writestatus{loading}{Context User Module / Japanese} \unprotect %D Systemvariable \def\rb{rb} % RuBy %D Setup for rubyenvironment \def\setupruby% {\dosingleempty\dosetupruby} \def\dosetupruby[#1